package hcn.cmc.bean.response;

import javax.xml.bind.annotation.*;
import java.io.Serializable;
import java.util.List;

/**
 * @Author:FangZhiyi
 * @Description 获取健康记录列表XML格式返参
 * @Data Created in 2020/11/14 16:12
 * @Moddified By:
 */

@XmlRootElement(name = "Data")
public class HealthRecordsListXMLResp implements Serializable {
    private List<HealthRecord> RecordsLists;

    @XmlElementWrapper(name = "RecordsLists")
    @XmlElement(name = "RecordsList")
    public List<HealthRecord> getRecordsLists() {
        return RecordsLists;
    }

    public void setRecordsLists(List<HealthRecord> recordsLists) {
        RecordsLists = recordsLists;
    }

    @XmlAccessorType(XmlAccessType.FIELD)
    public static class HealthRecord {
        /*就诊日期 yyyy-MM-dd HH:mm:ss*/
        private String VisitDateTime;
        /*患者在医院的唯一识别号*/
        private String SourcePatientId;
        /*姓名*/
        private String Name;
        /**/
        private String PatientProperties;
        /**/
        private String Sex;
        /**/
        private String PatientAge;
        /**/
        private String VisitOrganization;
        /**/
        private String OrganizationName;
        /**/
        private String VisitDeptId;
        /**/
        private String VisitDeptName;
        /**/
        private String ResponsibilityDoctorId;
        /**/
        private String ResponsibilityDoctor;
        /**/
        private String OutpatientType;
        /**/
        private String OutpatientTypeName;
        /**/
        private String DiagnoseCode;

        private String DiagnoseId;


        private String DiagnoseName;
        /**/
        private String PatientType;
        /**/
        private String VisitId;
        /**/
        private String ClinicId;
        /**/
        private String HospizationId;
        //床位号
        private String SickbedId;

        // 药物过敏
        @XmlElementWrapper(name = "MedicalAllergyLists")
        @XmlElement(name = "MedicalAllergyList")
        private List<Allergy> MedicalAllergyList;
        
        // 其他过敏
        @XmlElementWrapper(name = "OtherAllergyLists")
        @XmlElement(name = "OtherAllergyList")
        private List<Allergy> OtherAllergyList;

        public List<Allergy> getMedicalAllergyList() {
            return MedicalAllergyList;
        }

        public void setMedicalAllergyList(List<Allergy> medicalAllergyList) {
            MedicalAllergyList = medicalAllergyList;
        }

        public List<Allergy> getOtherAllergyList() {
            return OtherAllergyList;
        }

        public void setOtherAllergyList(List<Allergy> otherAllergyList) {
            OtherAllergyList = otherAllergyList;
        }

        public String getSickbedId() {
            return SickbedId;
        }

        public void setSickbedId(String sickbedId) {
            SickbedId = sickbedId;
        }

        public String getDiagnoseId() {
            return DiagnoseId;
        }

        public void setDiagnoseId(String diagnoseId) {
            DiagnoseId = diagnoseId;
        }

        public String getVisitDateTime() {
            return VisitDateTime;
        }

        public void setVisitDateTime(String visitDateTime) {
            VisitDateTime = visitDateTime;
        }

        public String getSourcePatientId() {
            return SourcePatientId;
        }

        public void setSourcePatientId(String sourcePatientId) {
            SourcePatientId = sourcePatientId;
        }

        public String getName() {
            return Name;
        }

        public void setName(String name) {
            Name = name;
        }

        public String getPatientProperties() {
            return PatientProperties;
        }

        public void setPatientProperties(String patientProperties) {
            PatientProperties = patientProperties;
        }

        public String getSex() {
            return Sex;
        }

        public void setSex(String sex) {
            Sex = sex;
        }

        public String getPatientAge() {
            return PatientAge;
        }

        public void setPatientAge(String patientAge) {
            PatientAge = patientAge;
        }

        public String getVisitOrganization() {
            return VisitOrganization;
        }

        public void setVisitOrganization(String visitOrganization) {
            VisitOrganization = visitOrganization;
        }

        public String getOrganizationName() {
            return OrganizationName;
        }

        public void setOrganizationName(String organizationName) {
            OrganizationName = organizationName;
        }

        public String getVisitDeptId() {
            return VisitDeptId;
        }

        public void setVisitDeptId(String visitDeptId) {
            VisitDeptId = visitDeptId;
        }

        public String getVisitDeptName() {
            return VisitDeptName;
        }

        public void setVisitDeptName(String visitDeptName) {
            VisitDeptName = visitDeptName;
        }

        public String getResponsibilityDoctorId() {
            return ResponsibilityDoctorId;
        }

        public void setResponsibilityDoctorId(String responsibilityDoctorId) {
            ResponsibilityDoctorId = responsibilityDoctorId;
        }

        public String getResponsibilityDoctor() {
            return ResponsibilityDoctor;
        }

        public void setResponsibilityDoctor(String responsibilityDoctor) {
            ResponsibilityDoctor = responsibilityDoctor;
        }

        public String getOutpatientType() {
            return OutpatientType;
        }

        public void setOutpatientType(String outpatientType) {
            OutpatientType = outpatientType;
        }

        public String getOutpatientTypeName() {
            return OutpatientTypeName;
        }

        public void setOutpatientTypeName(String outpatientTypeName) {
            OutpatientTypeName = outpatientTypeName;
        }

        public String getDiagnoseCode() {
            return DiagnoseCode;
        }

        public void setDiagnoseCode(String diagnoseCode) {
            DiagnoseCode = diagnoseCode;
        }

        public String getPatientType() {
            return PatientType;
        }

        public void setPatientType(String patientType) {
            PatientType = patientType;
        }

        public String getVisitId() {
            return VisitId;
        }

        public void setVisitId(String visitId) {
            VisitId = visitId;
        }

        public String getClinicId() {
            return ClinicId;
        }

        public void setClinicId(String clinicId) {
            ClinicId = clinicId;
        }

        public String getHospizationId() {
            return HospizationId;
        }

        public void setHospizationId(String hospizationId) {
            HospizationId = hospizationId;
        }

        public String getDiagnoseName() {
            return DiagnoseName;
        }

        public void setDiagnoseName(String diagnoseName) {
            DiagnoseName = diagnoseName;
        }
    }

    @XmlAccessorType(XmlAccessType.FIELD)
    public static class Allergy{
        private String AllergenicIngredientsCode;// 过敏源代码
        private String AllergenicIngredients;// 
        private String AllergicSymptoms;// 
        private String AllergySeverity;// 

        public String getAllergenicIngredientsCode() {
            return AllergenicIngredientsCode;
        }

        public void setAllergenicIngredientsCode(String allergenicIngredientsCode) {
            AllergenicIngredientsCode = allergenicIngredientsCode;
        }

        public String getAllergenicIngredients() {
            return AllergenicIngredients;
        }

        public void setAllergenicIngredients(String allergenicIngredients) {
            AllergenicIngredients = allergenicIngredients;
        }

        public String getAllergicSymptoms() {
            return AllergicSymptoms;
        }

        public void setAllergicSymptoms(String allergicSymptoms) {
            AllergicSymptoms = allergicSymptoms;
        }

        public String getAllergySeverity() {
            return AllergySeverity;
        }

        public void setAllergySeverity(String allergySeverity) {
            AllergySeverity = allergySeverity;
        }
    }

}
